#include "../include/Dictionary.hpp"

Dictionary* Dictionary::createInstance()
{
    if(pDict == nullptr)
    {
        pDict = new Dictionary();
    }
    return pDict;
}

void Dictionary::init(const string & dictpath)
//通过词典文件路径初始化词典
{




}


vector<pair<string, int>> & Dictionary::getDict()
//获取词典
{


}


map<string, set<int>> & Dictionary::getIndexTable()
///获取索引表
{


}



string Dictionary::doQuery(string word)
{





}
